<?php
	if($vars['entity']->getOwner() == $_SESSION['user']->guid){
?>
		<a href="<?php echo $vars['url'];?>mod/validation_peda/avis.php?guid=<?php echo $vars['entity']->getGUID(); ?>&type=<?php echo get_context() ?>">
			<img src='<?php echo $vars['url'];?>mod/validation_peda/graphics/validation.gif' alt="validation"/>
		  <?php
		    echo elgg_echo('avis:titre');
		  ?>
		</a>
<?php
		
}
	
?>






